﻿using System.Web.Mvc;
using Orchard.Logging;

namespace Wanda.Cms.Controllers
{
    public class HomeController:Controller
    {

        public HomeController()
        {
            Logger = NullLogger.Instance;
        }

        public ILogger Logger { get; set; }

        public ActionResult Index()
        {
            Logger.Error("error");
            Logger.Debug("ok");
            return Content("ok");
        }
    }
}